<!-- load scripts -->
$vBeditTemplate[clientscript]

<!-- start message area --><div id="vBulletin_editor" style="text-align:$stylevar[left]"><!-- / start message area -->


<table cellpadding="0" cellspacing="0" border="0">
<tr valign="bottom">
	<td colspan="2">



<!-- start control bar --><div id="controlbar"><!-- / start control bar -->

	<!-- first control row -->
	<div class="controlholder">
		<table cellpadding="0" cellspacing="1" border="0" width="100%">
		<tr>
			<if condition="$show['font_bbcode']">
			<td>
			<select id="fontselect" onchange="fontformat(this.options[this.selectedIndex].value, 'FONT')">
				<option value="">$vbphrase[font_standard_editor]</option>
				<script type="text/javascript"> build_fontoptions(false); </script>
			</select>&nbsp;
			</td>
			</if>
			<if condition="$show['size_bbcode']">
			<td>
			<select id="sizeselect" onchange="fontformat(this.options[this.selectedIndex].value, 'SIZE')">
				<option value="">$vbphrase[size_standard_editor]</option>
				<script type="text/javascript"> build_sizeoptions(false); </script>
			</select>&nbsp;
			</td>
			</if>
			<if condition="$show['color_bbcode']">
			<td>
			<select id="colorselect" onchange="fontformat(this.options[this.selectedIndex].value, 'COLOR')">
				<option value="">$vbphrase[color_standard_editor]</option>
				<script type="text/javascript"> build_coloroptions(false); </script>
			</select>&nbsp;
			</td>
			</if>
			<td class="smallfont" width="100%" align="$stylevar[right]">
				<span class="imagebutton">$vbphrase[close_current_tag] <input type="button" style="color: red; font: bold 11px verdana" value="$vbphrase[x]" onclick="closetag(this.form)" /></span>
			</td>
		</tr>
		</table>
	</div>
	<!-- / first control row -->
	
	<!-- second control row -->	
	<div class="controlholder">
		<table cellpadding="0" cellspacing="1" border="0" width="100%">
		<tr>
			<if condition="$show['basic_bbcode']">
			<td><div class="imagebutton"><a href="#" onclick="return vbcode('B', '')" accesskey="b"><img class="image" src="$stylevar[imgdir_editor]/bold.gif" alt="$vbphrase[bold]" width="21" height="20" border="0" /></a></div></td>
			<td><div class="imagebutton"><a href="#" onclick="return vbcode('I', '')" accesskey="i"><img class="image" src="$stylevar[imgdir_editor]/italic.gif" alt="$vbphrase[italic]" width="21" height="20" border="0" /></a></div></td>
			<td><div class="imagebutton"><a href="#" onclick="return vbcode('U', '')" accesskey="u"><img class="image" src="$stylevar[imgdir_editor]/underline.gif" alt="$vbphrase[underline]" width="21" height="20" border="0" /></a></div></td>
			<td><img src="$stylevar[imgdir_editor]/separator.gif" alt="" width="6" height="20" border="0" /></td>
			</if>
			<if condition="$show['align_bbcode']">
			<td><div class="imagebutton"><a href="#" onclick="return vbcode('LEFT', '')"><img class="image" src="$stylevar[imgdir_editor]/justifyleft.gif" alt="$vbphrase[align_left]" width="21" height="20" border="0" /></a></div></td>
			<td><div class="imagebutton"><a href="#" onclick="return vbcode('CENTER', '')"><img class="image" src="$stylevar[imgdir_editor]/justifycenter.gif" alt="$vbphrase[align_center]" width="21" height="20" border="0" /></a></div></td>
			<td><div class="imagebutton"><a href="#" onclick="return vbcode('RIGHT', '')"><img class="image" src="$stylevar[imgdir_editor]/justifyright.gif" alt="$vbphrase[align_right]" width="21" height="20" border="0" /></a></div></td>
			<td><img src="$stylevar[imgdir_editor]/separator.gif" alt="" width="6" height="20" border="0" /></td>
			<td><div class="imagebutton"><a href="#" onclick="return vbcode('INDENT', '')"><img class="image" src="$stylevar[imgdir_editor]/indent.gif" alt="$vbphrase[indent]" width="21" height="20" border="0" /></a></div></td>
			</if>
			<if condition="$show['list_bbcode']">
			<td><div class="imagebutton"><a href="#" onclick="return dolist()"><img class="image" src="$stylevar[imgdir_editor]/insertunorderedlist.gif" alt="$vbphrase[create_list]" width="21" height="20" border="0" /></a></div></td>
			</if>
			<td><img src="$stylevar[imgdir_editor]/separator.gif" alt="" width="6" height="20" border="0" /></td>
			<if condition="$show['img_bbcode']">
			<td><div class="imagebutton"><a href="#" onclick="return vbcode('IMG', 'http://')"><img src="$stylevar[imgdir_editor]/insertimage.gif" alt="$vbphrase[insert_image]" width="21" height="20" border="0" /></a></div></td>
			</if>
			<td><div class="imagebutton"><a href="#" onclick="namedlink('URL')"><img src="$stylevar[imgdir_editor]/createlink.gif" alt="$vbphrase[insert_hyperlink]" width="21" height="20" border="0" /></a></div></td>
			<td><div class="imagebutton"><a href="#" onclick="namedlink('EMAIL')"><img src="$stylevar[imgdir_editor]/email.gif" alt="$vbphrase[insert_email_link]" width="21" height="20" border="0" /></a></div></td>
			<td><img src="$stylevar[imgdir_editor]/separator.gif" alt="" width="6" height="20" border="0" /></td>
			<if condition="$show['code_bbcode']">
			<td><div class="imagebutton"><a href="#" onclick="return vbcode('CODE', '')"><img src="$stylevar[imgdir_editor]/code.gif" alt="$vbphrase[wrap_code_tags]" width="21" height="20" border="0" /></a></div></td>
			</if>
			<if condition="$show['html_bbcode']">
			<td><div class="imagebutton"><a href="#" onclick="return vbcode('HTML', '')"><img src="$stylevar[imgdir_editor]/html.gif" alt="$vbphrase[wrap_html_tags]" width="21" height="20" border="0" /></a></div></td>
			</if>
			<if condition="$show['php_bbcode']">
			<td><div class="imagebutton"><a href="#" onclick="return vbcode('PHP', '')"><img src="$stylevar[imgdir_editor]/php.gif" alt="$vbphrase[wrap_php_tags]" width="21" height="20" border="0" /></a></div></td>
			</if>
			<td><img src="$stylevar[imgdir_editor]/separator.gif" alt="" width="6" height="20" /></td>
			<td><div class="imagebutton"><a href="#" onclick="return vbcode('QUOTE', '')"><img src="$stylevar[imgdir_editor]/quote.gif" alt="$vbphrase[wrap_quote_tags]" width="21" height="20" border="0" /></a></div></td>
			$vBeditTemplate[extrabuttons]
			<td class="smallfont" width="100%" align="$stylevar[right]">
				<span class="imagebutton">$vbphrase[close_all_tags] <input type="button" style="color: red; font: bold 11px verdana" value="$vbphrase[x]" onclick="closeall(this.form)" /></span>
			</td>
		</tr>
		</table>
	</div>
	<!-- / second control row -->
<!-- third control row -->
	<div id="toolboxholder" class="controlholder">
		<table cellpadding="0" cellspacing="1" border="0">
		<tr>
			<td><div class="imagebutton" id="glow"><img src="images/toolbox/glow.gif" alt=" " /></div></td>
			<td><div class="imagebutton" id="blink"><img src="images/toolbox/blink.gif" alt="" /></div></td>
			<td><div class="imagebutton" id="glint"><img src="images/toolbox/glint.gif" alt="" /></div></td>
			<td><div class="imagebutton" id="gradient"><img src="images/toolbox/gradient.gif" alt=" " /></div></td>

			<td><img src="$stylevar[imgdir_editor]/separator.gif" alt="" width="6" height="18" /></td>

			<td><div class="imagebutton" id="rplayer"><img src="images/toolbox/rplayer.gif" alt="    (rm,ra,ram,...)	" /></div></td>
			<td><div class="imagebutton" id="media"><img src="images/toolbox/media.gif" alt="    (mp3,wav,au,wma,mpg,mpeg,wmv,avi,...)" /></div></td>
			<td><div class="imagebutton" id="flash"><img src="images/toolbox/flash.gif" alt=" " ></div></td>	

			<td><img src="$stylevar[imgdir_editor]/separator.gif" alt="" width="6" height="18" /></td>

			<td><div class="imagebutton" id="mleft"><img src="images/toolbox/mleft.gif" alt="  " /></div></td>
			<td><div class="imagebutton" id="mright"><img src="images/toolbox/mright.gif" alt="  " /></div></td>
			<td><div class="imagebutton" id="mup"><img src="images/toolbox/mup.gif" alt="  " /></div></td>
			<td><div class="imagebutton" id="mdown"><img src="images/toolbox/mdown.gif" alt="  " /></div></td>

			<td><img src="$stylevar[imgdir_editor]/separator.gif" alt="" width="6" height="18" /></td>

			<td><div class="imagebutton" id="line"><img src="images/toolbox/line.gif" alt=" " /></div></td>
			<td><div class="imagebutton" id="poem"><img src="images/toolbox/poem.gif" alt="  " /></div></td>
			<td><div class="imagebutton" id="frame"><img src="images/toolbox/frame.gif" alt=" " /></div></td>
		</tr>
		</table>
	</div>
	
	<!-- /third control row -->

	<div class="controlholder">
		<span class="imagebutton"><span class="smallfont">
			<label for="rb_mode_0"><input type="radio" name="mode" value="0" id="rb_mode_0" onclick="setmode(this.value)" $modechecked[0] />$vbphrase[guided_mode]</label>
			<label for="rb_mode_1"><input type="radio" name="mode" value="1" id="rb_mode_1" onclick="setmode(this.value)" $modechecked[1] />$vbphrase[enhanced_mode]</label>
		</span></span>
	</div>
	
<!-- end control bar --></div><!-- / end control bar -->

	
	
	</td>
</tr>
<tr valign="top">
	<td class="controlbar">
	
	<!-- edit text area -->
	<textarea name="message" rows="20" cols="60" wrap="virtual" style="width:$stylevar[messagewidth]; height:250px" tabindex="1">$newpost[message]</textarea>	
	<!-- / edit text area -->	

	</td>	
	<if condition="$smiliebox"><td class="controlbar">$smiliebox</td></if>
</tr>
</table>



<script type="text/javascript" src="clientscript/poem_standard.js"></script>
<!-- end message area --></div><!-- / end message area -->